// 学科维护
import req from '@/utils/req.js';
export default {
    // 获取列表
    getSubjectList_Api(params) {
        return req.post('/subject/queryAll', params);
    },
    //新增学科
    addSubject_Api(params) {
        return req.post('/subject/add', params);
    },
    //修改学科
    editSubject_Api(params) {
        return req.post('/subject/update', params);
    },
    //删除学科：单个
    delSubject_Api(params) {
        return req.get('/subject/delete', params);
    },
}